<div class="page-titl">
	<div class="wrapper">
		<h1>DANH SÁCH BÀI HỌC</h1>
	</div>
</div>
<div class="wrapper">
	<table class="table" ng-show="listType=='lesson'">
		<tr>
			<th>#</th>
			<th>Id</th>
			<th>Tiêu đề</th>
			<th><a href="#/lscompose/lesson/">Tạo mới</a></th>
		</tr>
		<tr ng-repeat="lesson in lessonList">
			<td>{{$index}}</td>
			<td>{{lesson._id.$id}}{{lesson._id}}</td>
			<td>{{lesson.title}}</td>
			<td><a href="#/lscompose/lesson/{{lesson._id}}">sửa</a> | <a href="" ng-click="delete(lesson._id)">xóa</a></td>
		</tr>
	</table>

	<table class="table" ng-show="listType=='place'">
		<tr>
			<th>#</th>
			<th>Id</th>
			<th>Tên di tích/bảo tàng</th>
			<th><a href="#/lscompose/place/">Tạo mới</a></th>
		</tr>
		<tr ng-repeat="place in placeList">
			<td>{{$index}}</td>
			<td>{{place._id.$id}}{{place._id}}</td>
			<td>{{place.title}}</td>
			<td><a href="#/lscompose/place/{{place._id.$id}}">sửa</a> | <a href="" ng-click="delete(place._id.$id)">xóa</a></td>
		</tr>
	</table>

	<table class="table" ng-show="listType=='person'">
		<tr>
			<th>#</th>
			<th>Id</th>
			<th>Tiêu đề</th>
			<th><a href="#/lscompose/person/">Tạo mới</a></th>
		</tr>
		<tr ng-repeat="person in personList">
			<td>{{$index}}</td>
			<td>{{person._id.$id}}{{person._id}}</td>
			<td>{{person.title}}</td>
			<td><a href="#/lscompose/person/{{person._id.$id}}">sửa</a> | <a href="" ng-click="delete(person._id.$id)">xóa</a></td>
		</tr>
	</table>
</div>

